﻿@model EventPlanner.Models.Evento

@{
    ViewBag.Title = "EliminarInscripcion";
}

<h2 style="font-family: 'Segoe Print'">Eliminar Inscripción</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>¿Realmente desea eliminar su inscripcion al evento? </legend>

        @Html.HiddenFor(model => model.ID)

        <div class="editor-label">
            <b>@Html.LabelFor(model => model.Nombre)</b>
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Nombre)
        </div>

        <div class="editor-label">
            <b>@Html.LabelFor(model => model.NombreOrganizador)</b>
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.NombreOrganizador)
        </div>

        

        <p>
            <input type="submit" value="Eliminar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>
